{% extends "base.html" %}
{% comment %}
  $Id$
{% endcomment %}

{% block head %}
 <script type="text/javascript" src="{% url adposting.views.pricing %}"></script>
{% endblock %}

{% block content %}
 {% block ad_create_status %}
   <h1>Post Ad</h1>
   <ol class="progress">
    <li>1 | Select</li>
    <li>2 | Post</li>
    <li>3 | Review</li>
    <li class="selected">4 | Checkout</li>
   </ol>
   <p><strong>Step 4 :</strong> Checkout</p>
 {% endblock %}
 
<p>Checkout page for posting titled "{{ ad.title }}" (Ad Id: {{ ad.pk }}) in the {{ ad.category.name }} category.</p>

<form method="post" action="{% url adposting.views.checkout ad.pk %}">
 <table>
  {{ form }}
  <tr>
   <th><label>Total:</label></th>
   <td><div id="total">Choose options above</div></td>
  </tr>
 </table>
 <p style="text-align: center;">
  <input type="image" src="{{ MEDIA_URL }}images/btn_paynowCC_LG.gif" style="border:none;" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
 </p>
</form>
<br /><br /><br /><br />
<a class="abort-checkout" onclick="return confirm('Are you sure?');" href="{% url adposting.views.mine %}">Exit / Delete</a>
{% endblock %}
